/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.service;

import com.rbh.risk.entity.MainCause;
import com.rbh.risk.entity.SubCause;
import java.util.List;

public interface SubCauseService {

    public void insert(SubCause subCause);

    public void update(SubCause subCause);

    public void delete(SubCause subCause);

    public SubCause getById(Integer subCauseId);

    public List<SubCause> getAll();

    public List<SubCause> getByMainCause(MainCause mainCause);
}